.box {
  width: 980px;
  margin: 0 auto;
  background-color: #ddd;
  padding: 20px;
  font-size: 13px;
}
.box .users-table {
  width: 100%;
  border: 1px solid #fff;
  border-collapse: collapse;
}
.box .users-table tr {
  border: 1px solid #fff;
  line-height: 35px;
  height: 35px;
}
.box .users-table tr.active {
  background-color: #e5facb;
}
.box .users-table tr.tr-first {
  background-color: #409eff;
  color: #fff;
}
.box .users-table tr td {
  border: 1px solid #fff;
  text-align: center;
}
.box .users-table tr td img {
  vertical-align: middle;
  cursor: pointer;
  margin: 0 3px;
}
.box .users-table tr th {
  border: 1px solid #fff;
  text-align: center;
}
.opt {
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.opt .search-box {
  display: flex;
  align-items: center;
  padding-right: 10px;
  font-size: 13px;
}
.opt .search-box input {
  border: none;
  outline: none;
  border-radius: 5px;
  border: 1px solid #ddd;
  height: 30px;
  padding-left: 10px;
  width: 250px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.opt .search-box button {
  height: 28px;
  border: none;
  width: 50px;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
}
.opt .search-box button:hover {
  cursor: pointer;
  background-color: #fff;
}
.opt .search-box .add-btn {
  border-radius: 5px;
  border: 1px solid #ddd;
  height: 30px;
  width: 90px;
  background-color: #409eff;
  color: #fff;
  font-size: 13px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 10px;
}
.opt .search-box .add-btn:hover {
  cursor: pointer;
  background-color: #0b6fb4;
}
.add-dialog,
.detail-dialog,
.update-dialog {
  position: fixed;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 1;
  top: 0;
  left: 0;
  right: 0;
  display: none;
  justify-content: center;
  align-items: center;
  font-size: 14px;
}
.add-dialog .content,
.detail-dialog .content,
.update-dialog .content {
  width: 50%;
  min-width: 500px;
  padding: 10px 20px;
  background-color: #fff;
  border-radius: 10px;
}
.add-dialog .content .headers,
.detail-dialog .content .headers,
.update-dialog .content .headers {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 10px;
}
.add-dialog .content .headers .title,
.detail-dialog .content .headers .title,
.update-dialog .content .headers .title {
  font-weight: 700;
  font-size: 16px;
}
.add-dialog .content .headers .colse-btn,
.detail-dialog .content .headers .colse-btn,
.update-dialog .content .headers .colse-btn {
  font-size: 16px;
  padding: 5px;
  background-color: #ddd;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  color: #fff;
  border-radius: 3px;
}
.add-dialog .content .headers .colse-btn:hover,
.detail-dialog .content .headers .colse-btn:hover,
.update-dialog .content .headers .colse-btn:hover {
  cursor: pointer;
  background-color: #aaa;
}
.add-dialog .content .bodys form .form-item,
.detail-dialog .content .bodys form .form-item,
.update-dialog .content .bodys form .form-item {
  padding: 10px;
}
.add-dialog .content .bodys form .form-item .info,
.detail-dialog .content .bodys form .form-item .info,
.update-dialog .content .bodys form .form-item .info {
  display: flex;
  align-items: center;
}
.add-dialog .content .bodys form .form-item .info label,
.detail-dialog .content .bodys form .form-item .info label,
.update-dialog .content .bodys form .form-item .info label {
  padding-right: 10px;
}
.add-dialog .content .bodys form .form-item .info input[type='text'],
.detail-dialog .content .bodys form .form-item .info input[type='text'],
.update-dialog .content .bodys form .form-item .info input[type='text'],
.add-dialog .content .bodys form .form-item .info input[type='password'],
.detail-dialog .content .bodys form .form-item .info input[type='password'],
.update-dialog .content .bodys form .form-item .info input[type='password'],
.add-dialog .content .bodys form .form-item .info input[type='date'],
.detail-dialog .content .bodys form .form-item .info input[type='date'],
.update-dialog .content .bodys form .form-item .info input[type='date'],
.add-dialog .content .bodys form .form-item .info select,
.detail-dialog .content .bodys form .form-item .info select,
.update-dialog .content .bodys form .form-item .info select {
  flex: 1;
  outline: none;
  border: none;
  border: 1px solid #ddd;
  height: 30px;
  border-radius: 3px;
  padding-left: 10px;
}
.add-dialog .content .bodys form .form-item .valid,
.detail-dialog .content .bodys form .form-item .valid,
.update-dialog .content .bodys form .form-item .valid {
  color: red;
}
.add-dialog .content .foots,
.detail-dialog .content .foots,
.update-dialog .content .foots {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 10px 10px;
}
.add-dialog .content .foots div,
.detail-dialog .content .foots div,
.update-dialog .content .foots div {
  padding: 5px 20px;
  background-color: #409eff;
  color: #fff;
  border-radius: 3px;
}
.add-dialog .content .foots .cancel-add,
.detail-dialog .content .foots .cancel-add,
.update-dialog .content .foots .cancel-add {
  background-color: gold;
}
.add-dialog .content .foots .cancel-add:hover,
.detail-dialog .content .foots .cancel-add:hover,
.update-dialog .content .foots .cancel-add:hover {
  cursor: pointer;
  background-color: #dfbd01;
}
.add-dialog .content .foots .confirm-add,
.detail-dialog .content .foots .confirm-add,
.update-dialog .content .foots .confirm-add {
  margin-left: 10px;
}
.add-dialog .content .foots .confirm-add:hover,
.detail-dialog .content .foots .confirm-add:hover,
.update-dialog .content .foots .confirm-add:hover {
  cursor: pointer;
  background-color: #3584d3;
}
.detail-dialog .content .bodys .item {
  display: flex;
  padding: 7px 0;
  border-bottom: 1px solid #ddd;
}
.detail-dialog .content .bodys .item .key {
  flex: 2;
  font-weight: 700;
}
.detail-dialog .content .bodys .item .value {
  flex: 8;
}
.logout {
  padding: 5px 10px;
  background-color: #409eff;
  color: #fff;
  border-radius: 3px;
  margin-left: 10px;
}
.logout:hover {
  cursor: pointer;
  background-color: #3a82ca;
}
.welcome {
  display: flex;
  align-items: center;
}
